package po

type UserLoginReq struct {
	UserId     string `json:"user_id"`
	LoginType  int    `json:"login_type"` // 0 默认全息答题 1 AI心里咨询
	Supervisor int    `json:"supervisor"` // 0 默认 1 督导师
}

type TrainData struct {
	TrainLevel int `json:"train_level"`
	TrainCount int `json:"train_count"`
}

type WithDrawData struct {
	TotalAmount  float64 `json:"total_amount"`
	DeductAmount float64 `json:"deduct_amount"`
	OrderCount   int     `json:"order_count"`
	FrozenAmount float64 `json:"frozen_amount"`
	FrozenDeduct float64 `json:"frozen_deduct"`
}

type UserLoginRsp struct {
	UserId        string       `json:"user_id"`
	Supervisor    int          `json:"supervisor"`
	CustomData    string       `json:"custom_data"`
	UnlockNum     int          `json:"unlock_num"`
	UserMoney     float64      `json:"user_money"`
	WithdrawMoney float64      `json:"withdraw_money"`
	CreatedAt     int64        `json:"created_at"`
	UserTrainList []*TrainData `json:"user_train_list"`
	WithDrawData  WithDrawData `json:"withdraw_data"`
}
